﻿
@{
    ViewBag.Title = "首页";
}

<h2>Home</h2>
<h1>欢迎 @ViewData["name"] 进入系统</h1>

<h1>年龄 @ViewBag.age 岁</h1>

@*<h1>性别 @TempData["sex"] </h1>*@

<hr />
<h1>欢迎 @ViewBag.user.Name 进入系统</h1>

<h1>年龄 @ViewBag.user.Age 岁</h1>

<a href="/Default/Index">跳转到登录页面</a>
